#include<stdio.h>
#include<math.h>
int  main()
{
float  C1,Sa,Sb,Va,Vb;
   float   r,h,pi=3.14;
   scanf("%f %f",&r,&h);
  // char  C1,Sa,Sb,Va,Vb;
   C1=2*pi*r;
   Sa=pi*r*r;
   Sb=4*pi*r*r;
   Va=(4*pi*r*r*r)/3;
   Vb=pi*r*r*h;
    printf("C1=%0.2f\n",C1);
    printf("Sa=%0.2f\n",Sa);
    printf("Sb=%0.2f\n",Sb);
    printf("Va=%0.2f\n",Va);
    printf("Vb=%0.2f\n",Vb);
   return 0;
}
